/**
 * @author daniele.gili@usi.ch
 */

package ch.usi.inf.pf2;

import java.awt.EventQueue;
import java.io.IOException;
import java.util.ArrayList;

public class Main {

	private static PanicSimMain circuit = new PanicSimMain();
	private static ArrayList<?> partList = null;
	private static Integer time;

	public static void main(String[] args) throws IOException {

		new WaveForm();
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				final PanicSimFrame frame = new PanicSimFrame(circuit);
				frame.setVisible(true);
			}
		});

	}

	public static void setPartList(ArrayList<?> partList) {
		Main.partList = partList;
	}

	public static ArrayList<?> getPartList() {
		return partList;
	}

	public static void setTime(Integer time) {
		Main.time = time;
	}

	public static Integer getTime() {
		return time;
	}

}
